package vista;
import java.awt.BorderLayout;

import javax.swing.JFileChooser;
import javax.swing.JFrame;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class SaveFileWindow extends javax.swing.JDialog {
	private JFileChooser fileDirectories;
	
	public SaveFileWindow(JFrame frame) {
		super(frame);
		
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				fileDirectories = new JFileChooser();
				getContentPane().add(fileDirectories, BorderLayout.CENTER);
			}
			setSize(400, 300);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public JFileChooser getFileDiretories() {
		return fileDirectories;
	}
}
